home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 November: Tool Chest / Dev.CD Nov 96 TC / Dev.CD Nov 96 TC.toast / Sample Code / Development Tools & Languages / AppsToGo / •AppsToGo Reference / •AppsToGo Reference.rsrc / WFMT_627_a2D1 < prev    next >
Unknown  |  1994-09-22  |  2.7 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert Jesper Olsen Module (music/jesperOlsen) magic Supported
1% dexvert TTComp Archive (archive/ttcomp) fallback Supported
100% file TTComp archive data, binary, 2K dictionary default (weak)
99% file data default
100% TrID TTComp archive compressed (bin-2K) default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 00 01 00 00 00 1a | 00 00 00 00 00 00 00 1a |........|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 05 00 05 00 00 |........|........|
|00000030| 00 2a 00 00 00 00 00 00 | 00 2a 61 32 44 31 00 00 |.*......|.*a2D1..|
|00000040| 4e 16 00 00 20 19 00 00 | 00 00 00 00 00 00 00 00 |N... ...|........|
|00000050| 00 00 10 53 6d 61 72 74 | 49 6e 73 4d 65 6e 75 49 |...Smart|InsMenuI|
|00000060| 74 65 6d 00 00 06 00 00 | 00 00 00 b4 00 00 00 00 |tem.....|........|
|00000070| 00 00 00 b4 00 00 00 14 | 03 c1 00 28 05 7e 00 ff |........|...(.~..|
|00000080| 00 00 00 00 00 00 0f a8 | 00 00 00 00 4e 1c 00 00 |........|....N...|
|00000090| 00 09 00 00 00 04 00 04 | ff fc ff fa 00 04 00 04 |........|........|
|000000a0| ff fc ff fc 00 00 00 00 | 00 00 00 00 83 00 0b 40 |........|.......@|
|000000b0| 10 6b 53 63 72 65 65 6e | 41 50 49 2f 31 39 39 39 |.kScreen|API/1999|
|000000c0| 36 00 06 47 65 6e 65 76 | 61 00 00 5a 73 68 6f 72 |6..Genev|a..Zshor|
|000000d0| 74 20 53 6d 61 72 74 49 | 6e 73 4d 65 6e 75 49 74 |t SmartI|nsMenuIt|
|000000e0| 65 6d 28 4d 65 6e 75 48 | 61 6e 64 6c 65 20 74 68 |em(MenuH|andle th|
|000000f0| 65 4d 65 6e 75 2c 20 53 | 74 72 69 6e 67 50 74 72 |eMenu, S|tringPtr|
|00000100| 20 74 68 65 54 65 78 74 | 2c 20 73 68 6f 72 74 20 | theText|, short |
|00000110| 73 65 63 74 69 6f 6e 2c | 20 73 68 6f 72 74 20 77 |section,| short w|
|00000120| 68 65 72 65 29 3b 00 00 | 00 06 00 00 00 00 00 8d |here);..|........|
|00000130| 00 00 00 00 00 00 00 8d | 00 00 00 00 03 c1 00 14 |........|........|
|00000140| 05 7e 00 ff 00 00 00 00 | 00 00 0f a8 00 00 00 00 |.~......|........|
|00000150| 4e 1d 00 00 00 09 00 00 | 00 04 00 04 ff fc ff fa |N.......|........|
|00000160| 00 04 00 04 ff fc ff fc | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 83 00 0b 40 14 6b 53 63 | 72 65 65 6e 4f 6e 65 4c |...@.kSc|reenOneL|
|00000180| 69 6e 65 2f 31 39 39 39 | 37 00 06 47 65 6e 65 76 |ine/1999|7..Genev|
|00000190| 61 00 00 2f 22 49 6e 74 | 65 6c 6c 69 67 65 6e 74 |a../"Int|elligent|
|000001a0| 6c 79 22 20 69 6e 73 65 | 72 74 20 61 20 6d 65 6e |ly" inse|rt a men|
|000001b0| 75 20 69 74 65 6d 20 69 | 6e 74 6f 20 61 20 6d 65 |u item i|nto a me|
|000001c0| 6e 75 2e 00 00 00 06 00 | 00 00 00 00 44 00 00 00 |nu......|....D...|
|000001d0| 00 00 00 00 44 00 00 00 | 00 02 6b 04 40 02 6c 01 |....D...|..k.@.l.|
|000001e0| 00 00 00 00 00 00 01 0f | f1 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 0c 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 06 00 00 00 00 00 |........|........|
|00000220| 81 00 00 00 00 00 00 00 | 81 00 00 00 00 02 6b 02 |........|......k.|
|00000230| 28 03 c1 00 ff 00 00 00 | 00 00 00 0f a8 00 00 00 |(.......|........|
|00000240| 00 4e 16 00 00 00 09 00 | 00 00 04 00 04 ff fc ff |.N......|........|
|00000250| fa 00 04 00 04 ff fc ff | fc 00 00 00 00 00 00 00 |........|........|
|00000260| 00 83 00 0b 40 0b 6c 69 | 6e 6b 73 2f 31 39 39 39 |....@.li|nks/1999|
|00000270| 30 00 06 4d 6f 6e 61 63 | 6f 00 00 16 61 32 44 31 |0..Monac|o...a2D1|
|00000280| 2c 53 6d 61 72 74 49 6e | 73 4d 65 6e 75 49 74 65 |,SmartIn|sMenuIte|
|00000290| 6d 0d 00 16 00 01 00 00 | 00 00 00 10 00 0c 00 01 |m.......|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 06 00 00 00 00 |........|........|
|000002b0| 08 0f 00 00 00 00 00 00 | 08 0f 00 00 00 00 00 00 |........|........|
|000002c0| 75 30 02 6b 01 ff 00 00 | 00 00 00 00 0f a8 00 00 |u0.k....|........|
|000002d0| 00 00 4e 1f 00 00 00 09 | 00 00 00 04 00 04 ff fc |..N.....|........|
|000002e0| ff fa 00 04 00 04 ff fc | ff fc 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 83 00 0b 40 0a 62 | 6f 64 79 2f 31 39 39 39 |.....@.b|ody/1999|
|00000300| 39 00 06 4d 6f 6e 61 63 | 6f 00 07 a5 73 68 6f 72 |9..Monac|o...shor|
|00000310| 74 20 53 6d 61 72 74 49 | 6e 73 4d 65 6e 75 49 74 |t SmartI|nsMenuIt|
|00000320| 65 6d 28 4d 65 6e 75 48 | 61 6e 64 6c 65 20 74 68 |em(MenuH|andle th|
|00000330| 65 4d 65 6e 75 2c 20 53 | 74 72 69 6e 67 50 74 72 |eMenu, S|tringPtr|
|00000340| 20 74 68 65 54 65 78 74 | 2c 20 73 68 6f 72 74 20 | theText|, short |
|00000350| 73 65 63 74 69 6f 6e 2c | 20 73 68 6f 72 74 20 77 |section,| short w|
|00000360| 68 65 72 65 29 3b 0d 0d | 20 20 20 20 46 69 6c 65 |here);..| File|
|00000370| 3a 20 55 74 69 6c 69 74 | 69 65 73 2e 68 0d 0d 49 |: Utilit|ies.h..I|
|00000380| 4e 50 55 54 3a 20 20 74 | 68 65 4d 65 6e 75 20 20 |NPUT: t|heMenu |
|00000390| 20 20 20 54 68 65 20 6d | 65 6e 75 20 74 6f 20 69 | The m|enu to i|
|000003a0| 6e 73 65 72 74 20 69 6e | 74 6f 2e 0d 20 20 20 20 |nsert in|to.. |
|000003b0| 20 20 20 20 74 68 65 54 | 65 78 74 20 20 20 20 20 | theT|ext |
|000003c0| 54 68 65 20 74 65 78 74 | 20 66 6f 72 20 74 68 65 |The text| for the|
|000003d0| 20 6d 65 6e 75 20 69 74 | 65 6d 20 74 6f 20 62 65 | menu it|em to be|
|000003e0| 20 69 6e 73 65 72 74 65 | 64 2e 0d 20 20 20 20 20 | inserte|d.. |
|000003f0| 20 20 20 73 65 63 74 69 | 6f 6e 20 20 20 20 20 53 | secti|on S|
|00000400| 65 63 74 69 6f 6e 73 20 | 61 72 65 20 64 69 76 69 |ections |are divi|
|00000410| 64 65 64 20 62 79 20 6d | 65 6e 75 20 64 69 76 69 |ded by m|enu divi|
|00000420| 64 69 6e 67 20 6c 69 6e | 65 73 2e 20 20 54 68 69 |ding lin|es. Thi|
|00000430| 73 20 74 65 6c 6c 73 20 | 77 68 69 63 68 0d 20 20 |s tells |which. |
|00000440| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000450| 20 20 73 65 63 74 69 6f | 6e 20 74 6f 20 69 6e 73 | sectio|n to ins|
|00000460| 65 72 74 20 74 68 65 20 | 6d 65 6e 75 20 69 74 65 |ert the |menu ite|
|00000470| 6d 20 69 6e 74 6f 2e 20 | 20 53 65 63 74 69 6f 6e |m into. | Section|
|00000480| 20 31 20 69 73 20 61 6c | 6c 20 6f 66 20 74 68 65 | 1 is al|l of the|
|00000490| 20 69 74 65 6d 73 0d 20 | 20 20 20 20 20 20 20 20 | items. | |
|000004a0| 20 20 20 20 20 20 20 20 | 20 20 20 62 65 66 6f 72 | | befor|
|000004b0| 65 20 74 68 65 20 66 69 | 72 73 74 20 64 69 76 69 |e the fi|rst divi|
|000004c0| 64 69 6e 67 20 6c 69 6e | 65 2e 0d 20 20 20 20 20 |ding lin|e.. |
|000004d0| 20 20 20 77 68 65 72 65 | 20 20 20 20 20 20 20 57 | where| W|
|000004e0| 68 65 72 65 20 74 6f 20 | 69 6e 73 65 72 74 2c 20 |here to |insert, |
|000004f0| 72 65 6c 61 74 69 76 65 | 20 74 6f 20 74 68 65 20 |relative| to the |
|00000500| 73 65 63 74 69 6f 6e 2e | 0d 52 45 53 55 4c 54 3a |section.|.RESULT:|
|00000510| 20 73 68 6f 72 74 20 20 | 20 20 20 20 20 4d 65 6e | short | Men|
|00000520| 75 20 69 74 65 6d 20 6e | 75 6d 62 65 72 20 66 72 |u item n|umber fr|
|00000530| 6f 6d 20 74 68 65 20 62 | 65 67 69 6e 6e 69 6e 67 |om the b|eginning|
|00000540| 20 6f 66 20 74 68 65 20 | 6d 65 6e 75 2c 20 6e 6f | of the |menu, no|
|00000550| 74 20 62 65 67 69 6e 6e | 69 6e 67 20 6f 66 20 73 |t beginn|ing of s|
|00000560| 65 63 74 69 6f 6e 2e 0d | 0d 54 68 69 73 20 69 73 |ection..|.This is|
|00000570| 20 75 73 65 64 20 74 6f | 20 22 69 6e 74 65 6c 6c | used to| "intell|
|00000580| 69 67 65 6e 74 6c 79 22 | 20 69 6e 73 65 72 74 20 |igently"| insert |
|00000590| 61 20 6d 65 6e 75 20 69 | 74 65 6d 20 69 6e 74 6f |a menu i|tem into|
|000005a0| 20 61 20 6d 65 6e 75 2e | 20 20 50 61 73 73 20 69 | a menu.| Pass i|
|000005b0| 74 20 74 68 65 20 6d 65 | 6e 75 20 74 6f 20 62 65 |t the me|nu to be|
|000005c0| 20 6d 6f 64 69 66 69 65 | 64 2c 0d 74 68 65 20 74 | modifie|d,.the t|
|000005d0| 65 78 74 20 6f 66 20 74 | 68 65 20 69 74 65 6d 20 |ext of t|he item |
|000005e0| 62 65 69 6e 67 20 61 64 | 64 65 64 2c 20 70 6c 75 |being ad|ded, plu|
|000005f0| 73 20 77 68 65 72 65 20 | 74 68 65 20 69 74 65 6d |s where |the item|
|00000600| 20 69 73 20 74 6f 20 62 | 65 20 69 6e 73 65 72 74 | is to b|e insert|
|00000610| 65 64 2e 20 20 54 68 65 | 20 6c 6f 63 61 74 69 6f |ed. The| locatio|
|00000620| 6e 20 74 6f 20 62 65 0d | 69 6e 73 65 72 74 65 64 |n to be.|inserted|
|00000630| 20 69 73 20 64 65 73 63 | 72 69 62 65 64 20 62 79 | is desc|ribed by|
|00000640| 20 74 77 6f 20 70 61 72 | 61 6d 65 74 65 72 73 3a | two par|ameters:|
|00000650| 20 20 73 65 63 74 69 6f | 6e 20 26 20 77 68 65 72 | sectio|n & wher|
|00000660| 65 2e 0d 0d 73 65 63 74 | 69 6f 6e 3a 20 20 49 6e |e...sect|ion: In|
|00000670| 64 69 63 61 74 65 73 20 | 77 68 69 63 68 20 67 72 |dicates |which gr|
|00000680| 6f 75 70 20 6f 66 20 6d | 65 6e 75 20 69 74 65 6d |oup of m|enu item|
|00000690| 73 20 79 6f 75 20 77 69 | 73 68 20 74 6f 20 61 64 |s you wi|sh to ad|
|000006a0| 64 20 61 6e 20 69 74 65 | 6d 20 74 6f 2e 0d 20 20 |d an ite|m to.. |
|000006b0| 20 20 20 20 20 20 20 20 | 4d 65 6e 75 20 69 74 65 | |Menu ite|
|000006c0| 6d 20 73 65 63 74 69 6f | 6e 20 31 20 69 73 20 61 |m sectio|n 1 is a|
|000006d0| 6c 6c 20 6f 66 20 74 68 | 65 20 69 74 65 6d 73 20 |ll of th|e items |
|000006e0| 62 65 66 6f 72 65 20 74 | 68 65 20 66 69 72 73 74 |before t|he first|
|000006f0| 0d 20 20 20 20 20 20 20 | 20 20 20 64 69 76 69 64 |. | divid|
|00000700| 69 6e 67 20 6c 69 6e 65 | 2e 20 20 4d 65 6e 75 20 |ing line|. Menu |
|00000710| 69 74 65 6d 20 73 65 63 | 74 69 6f 6e 20 32 20 69 |item sec|tion 2 i|
|00000720| 73 20 61 6c 6c 20 69 74 | 65 6d 73 20 61 66 74 65 |s all it|ems afte|
|00000730| 72 20 74 68 65 0d 20 20 | 20 20 20 20 20 20 20 20 |r the. | |
|00000740| 66 69 72 73 74 20 64 69 | 76 69 64 69 6e 67 20 6c |first di|viding l|
|00000750| 69 6e 65 20 61 6e 64 20 | 62 65 66 6f 72 65 20 74 |ine and |before t|
|00000760| 68 65 20 73 65 63 6f 6e | 64 2c 20 61 6e 64 20 73 |he secon|d, and s|
|00000770| 6f 20 6f 6e 2e 20 20 49 | 66 20 79 6f 75 0d 20 20 |o on. I|f you. |
|00000780| 20 20 20 20 20 20 20 20 | 68 61 76 65 20 6e 6f 20 | |have no |
|00000790| 64 69 76 69 64 69 6e 67 | 20 6c 69 6e 65 73 2c 20 |dividing| lines, |
|000007a0| 79 6f 75 20 68 61 76 65 | 20 6a 75 73 74 20 31 20 |you have| just 1 |
|000007b0| 73 65 63 74 69 6f 6e 20 | 73 6f 20 70 61 73 73 20 |section |so pass |
|000007c0| 69 6e 20 31 2e 0d 0d 77 | 68 65 72 65 3a 20 20 20 |in 1...w|here: |
|000007d0| 20 49 6e 64 69 63 61 74 | 65 73 20 74 68 65 20 69 | Indicat|es the i|
|000007e0| 74 65 6d 20 70 6f 73 69 | 74 69 6f 6e 20 72 65 6c |tem posi|tion rel|
|000007f0| 61 74 69 76 65 20 74 6f | 20 74 68 65 20 73 65 63 |ative to| the sec|
|00000800| 74 69 6f 6e 2e 20 20 54 | 6f 20 61 64 64 20 61 6e |tion. T|o add an|
|00000810| 0d 20 20 20 20 20 20 20 | 20 20 20 69 74 65 6d 20 |. | item |
|00000820| 73 75 63 68 20 74 68 61 | 74 20 69 74 20 69 73 20 |such tha|t it is |
|00000830| 74 68 65 20 66 69 72 73 | 74 20 69 74 65 6d 20 69 |the firs|t item i|
|00000840| 6e 20 61 20 73 65 63 74 | 69 6f 6e 2c 20 70 61 73 |n a sect|ion, pas|
|00000850| 73 20 69 6e 20 61 20 31 | 2e 0d 20 20 20 20 20 20 |s in a 1|.. |
|00000860| 20 20 20 20 49 74 20 77 | 69 6c 6c 20 62 65 20 61 | It w|ill be a|
|00000870| 64 64 65 64 20 69 6e 20 | 66 72 6f 6e 74 20 6f 66 |dded in |front of|
|00000880| 20 74 68 65 20 66 69 72 | 73 74 20 69 74 65 6d 20 | the fir|st item |
|00000890| 69 6e 20 74 68 65 20 73 | 65 63 74 69 6f 6e 2e 0d |in the s|ection..|
|000008a0| 0d 20 20 20 20 20 20 20 | 20 20 20 4e 4f 54 45 3a |. | NOTE:|
|000008b0| 20 20 59 6f 75 20 73 68 | 6f 75 6c 64 20 6e 65 76 | You sh|ould nev|
|000008c0| 65 72 20 70 61 73 73 20 | 69 6e 20 61 20 73 65 63 |er pass |in a sec|
|000008d0| 74 69 6f 6e 20 6f 72 20 | 77 68 65 72 65 20 70 61 |tion or |where pa|
|000008e0| 72 61 6d 65 74 65 72 20 | 6f 66 20 30 2e 0d 0d 4e |rameter |of 0...N|
|000008f0| 65 67 61 74 69 76 65 20 | 76 61 6c 75 65 73 20 66 |egative |values f|
|00000900| 6f 72 20 22 77 68 65 72 | 65 22 20 61 72 65 20 6d |or "wher|e" are m|
|00000910| 61 67 69 63 2e 20 20 49 | 66 20 77 68 65 72 65 20 |agic. I|f where |
|00000920| 3d 20 6b 4d 65 6e 75 49 | 74 65 6d 54 78 74 49 6e |= kMenuI|temTxtIn|
|00000930| 73 65 72 74 2c 20 74 68 | 65 6e 20 69 74 20 69 6e |sert, th|en it in|
|00000940| 73 65 72 74 73 20 74 68 | 65 0d 69 74 65 6d 20 61 |serts th|e.item a|
|00000950| 6c 70 68 61 62 65 74 69 | 63 61 6c 6c 79 20 69 6e |lphabeti|cally in|
|00000960| 74 6f 20 74 68 65 20 73 | 65 63 74 69 6f 6e 2e 20 |to the s|ection. |
|00000970| 20 41 20 77 68 65 72 65 | 20 6f 66 20 6b 4d 65 6e | A where| of kMen|
|00000980| 75 49 74 65 6d 4e 75 6d | 49 6e 73 65 72 74 20 77 |uItemNum|Insert w|
|00000990| 6f 72 6b 73 20 74 68 65 | 20 73 61 6d 65 20 61 73 |orks the| same as|
|000009a0| 0d 6b 4d 65 6e 75 49 74 | 65 6d 54 78 74 49 6e 73 |.kMenuIt|emTxtIns|
|000009b0| 65 72 74 2c 20 65 78 63 | 65 70 74 20 69 74 20 74 |ert, exc|ept it t|
|000009c0| 72 65 61 74 73 20 74 68 | 65 20 73 74 72 69 6e 67 |reats th|e string|
|000009d0| 73 20 61 72 65 20 6e 75 | 6d 62 65 72 73 20 66 6f |s are nu|mbers fo|
|000009e0| 72 20 63 6f 6d 70 61 72 | 69 73 6f 6e 20 70 75 72 |r compar|ison pur|
|000009f0| 70 6f 73 65 73 2e 0d 49 | 66 20 79 6f 75 20 77 61 |poses..I|f you wa|
|00000a00| 6e 74 20 74 6f 20 61 64 | 64 20 74 68 65 20 69 74 |nt to ad|d the it|
|00000a10| 65 6d 20 74 6f 20 74 68 | 65 20 65 6e 64 20 6f 66 |em to th|e end of|
|00000a20| 20 61 20 73 65 63 74 69 | 6f 6e 2c 20 75 73 65 20 | a secti|on, use |
|00000a30| 6b 4d 65 6e 75 49 74 65 | 6d 53 65 63 74 69 6f 6e |kMenuIte|mSection|
|00000a40| 45 6e 64 2e 0d 0d 41 73 | 20 61 20 66 69 6e 61 6c |End...As| a final|
|00000a50| 20 67 6f 6f 64 69 65 2c | 20 53 6d 61 72 74 49 6e | goodie,| SmartIn|
|00000a60| 73 4d 65 6e 75 49 74 65 | 6d 20 72 65 74 75 72 6e |sMenuIte|m return|
|00000a70| 73 20 74 68 65 20 6d 65 | 6e 75 20 69 74 65 6d 20 |s the me|nu item |
|00000a80| 23 20 66 72 6f 6d 20 74 | 68 65 20 62 65 67 69 6e |# from t|he begin|
|00000a90| 6e 69 6e 67 20 6f 66 20 | 74 68 65 20 6d 65 6e 75 |ning of |the menu|
|00000aa0| 2c 0d 6e 6f 74 20 73 65 | 63 74 69 6f 6e 2e 0d 0d |,.not se|ction...|
|00000ab0| 0d 00 16 00 01 00 00 00 | 00 00 0b 00 09 00 04 00 |........|........|
|00000ac0| 00 00 09 00 00 00 00 00 | 00 |........|. |
+--------+-------------------------+-------------------------+--------+--------+